package com.fr.web;

import com.fr.web.core.WebUtils;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;

public class AbstractReportletRequest
  implements ReportletRequest
{
  private Map parameterMap;

  public static AbstractReportletRequest getInstance(HttpServletRequest paramHttpServletRequest)
  {
    AbstractReportletRequest localAbstractReportletRequest = new AbstractReportletRequest();
    localAbstractReportletRequest.parameterMap = WebUtils.parameters4SessionIDInfor(paramHttpServletRequest);
    localAbstractReportletRequest.parameterMap = WebUtils.dealWithExecuteParamMap(localAbstractReportletRequest.parameterMap);
    return localAbstractReportletRequest;
  }

  public Object getParameter(String paramString)
  {
    return ((this.parameterMap == null) ? null : this.parameterMap.get(paramString));
  }

  public Map getParameterMap()
  {
    return this.parameterMap;
  }
}